package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库管理对象 mx_ware
 *
 * @author yushuaixm
 * @date 2024-08-15
 */
public class MxWare extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 规格 */
    @Excel(name = "规格")
    private Long gg;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String ggName;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 条码 */
    @Excel(name = "条码")
    private String code;

    /** 供货价格 */
    @Excel(name = "供货价格")
    private BigDecimal price;

    /** 库存 */
    @Excel(name = "库存")
    private Long inventory;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private String addtime;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private String upTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }
    public void setColor(String color)
    {
        this.color = color;
    }

    public String getColor()
    {
        return color;
    }
    public void setGg(Long gg)
    {
        this.gg = gg;
    }

    public Long getGg()
    {
        return gg;
    }
    public void setGgName(String ggName)
    {
        this.ggName = ggName;
    }

    public String getGgName()
    {
        return ggName;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setInventory(Long inventory)
    {
        this.inventory = inventory;
    }

    public Long getInventory()
    {
        return inventory;
    }
    public void setAddtime(String addtime)
    {
        this.addtime = addtime;
    }

    public String getAddtime()
    {
        return addtime;
    }
    public void setUpTime(String upTime)
    {
        this.upTime = upTime;
    }

    public String getUpTime()
    {
        return upTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("productId", getProductId())
                .append("color", getColor())
                .append("gg", getGg())
                .append("ggName", getGgName())
                .append("img", getImg())
                .append("code", getCode())
                .append("price", getPrice())
                .append("inventory", getInventory())
                .append("remark", getRemark())
                .append("addtime", getAddtime())
                .append("upTime", getUpTime())
                .toString();
    }
}
